package org.mspring.mlog.dao;

import org.mspring.mlog.entity.Log;
import org.mspring.platform.dao.hibernate.IGenericDao;

/**
 *
 * @author Gao Youbo
 * @since 2014-01-05
 */
public interface LogDao extends IGenericDao<Log, Long> {
    /**
     * 清理所有日志
     */
    public void clear();

    /**
     * 清除摸个时间段之前的日志
     *
     * @param date
     */
    public void clearBeforeTime(String date);
}
